package cn.tedu.florist.service.impl;

import cn.tedu.florist.mapper.CategoryMapper;
import cn.tedu.florist.model.Category;
import cn.tedu.florist.service.ICategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements ICategoryService {
    @Autowired
    CategoryMapper categoryMapper;

    @Override
    public List<Category> select(){
        return categoryMapper.select();
    }
}
